package cz.data.domain.quality.service;

import cz.data.common.mybatis.BaseService;
import cz.data.domain.quality.model.entity.CheckReportEntity;
import cz.data.domain.quality.model.entity.DataReportEntity;

import java.util.List;
import java.util.Map;

public interface CheckReportService extends BaseService<CheckReportEntity> {

    CheckReportEntity getCheckReportById(String id);

    /**
     * 按数据源统计
     * @return
     */
    List<DataReportEntity> getReportBySource(String checkDate);

    /**
     * 按规则类型统计
     * @return
     */
    List<DataReportEntity> getReportByType(String checkDate);

    Map<String, Object> getReportDetail(String checkDate);
}
